package city.spring.modules.oldman.vo;

import city.spring.modules.ext.entity.OldmanDiseaseExtEntity;
import city.spring.modules.oldman.entity.OldmanInfoEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
import java.util.Set;

/**
 * 老人信息视图对象
 *
 * @author HouKunLin
 * @date 2020/7/7 0007 14:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OldmanVO extends OldmanInfoEntity {

    @Deprecated
    private List<OldmanDiseaseExtEntity> pastMedicalHistory;

    /**
     * 疾病的ID列表（既往病史）
     */
    private Set<String> pastMedicalHistoryIds;


    /**
     * 入住时间
     */
    private LocalDate checkInTime;

    /**
     * 入住状态
     */
    private String checkinType;

    /**
     * 床位号
     */
    private String bedId;

    /**
     * 护理级别
     */
    private String attendanceId;

    /**
     * 级别名称
     */
    private String attendanceName;

    /**
     * 上次缴存至
     */
    private LocalDate paymentToDate;
    /**
     * 预存余额
     */
    private BigDecimal depositBalance;
}
